package ioc

import (
	"gitee.com/youkelike/zlog"
	"go.uber.org/zap/zapcore"
)

func InitLogger() zlog.Logger {
	opt := zlog.Options{
		Level:       zapcore.DebugLevel.String(),
		Format:      "console",
		OutputPaths: []string{"stdout"},
	}
	l := zlog.NewLogger(&opt)
	return l
	// return zlog.Default()
}
